package com.assignwork.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * @ClassName ShiftRule
 * @Description 班组生成规则
 * @Author dujianyu
 * @Date 2023/12/1 15:33
 */
@Data
@TableName("shift_rule")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "ShiftRule对象", description = "班组生成规则")
public class ShiftRule extends TenantEntity {

    @ApiModelProperty(value = "名称")
    private String name;

    @ApiModelProperty(value = "几班倒")
    private Integer shifts;

    @ApiModelProperty(value = "几个时间段")
    private Integer times;

}
